package org.snail.attendence.bean;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;

@Data
@Document(collection = "attendenceMessage")
public class AttendenceMessage implements Serializable{

    @Id
    private String id;
    //1.工作小于9小时  2.忘记打卡  3.事假
    //消息标记
    @Field("messageType")
    private Integer messageType;
    //消息内容
    @Field("content")
    private String content;

}
